import { useBoolean } from "@/hooks/useBoolean"

/**
 * 系统样式
 */
export const useThemeStore = defineStore("theme", () => {
    const scope = effectScope()
    // 是否暗色
    const { value: isDark, toggle: toggleDark } = useBoolean(false)
    // 系统样式
    // const settings: Ref<App.Theme.ThemeSetting> = ref(initThemeSettings())

    return {
        isDark,
        toggleDark
    }
})
